﻿namespace Chapter04.DesignMode2 {
    public class PizzaTestDrive {
        public static void Run(string[] args) {
            var nyStrore = new NYPizzaStroe();
            var chicagoStore = new ChicagoPizzaStore();

            var pizza = nyStrore.OrderPizza("cheese");
            Console.WriteLine($"Ethan ordered a {pizza.Name}");

            pizza = chicagoStore.OrderPizza("cheese");
            Console.WriteLine($"Joel ordered a {pizza.Name}");
        }
    }
}
